<?php

namespace maotool\core\validate;

/**
 * 表单校验结果接口
 * @author wangliang
 */
interface FormValidateResult
{

    /**
     * @return int
     */
    public function getCode();

    /**
     * @param $code int
     * @return mixed
     */
    public function setCode($code);

    /**
     * @return string
     */
    public function getMessage();

    /**
     * @param $message string
     * @return mixed
     */
    public function setMessage($message);

}